package com.example.repository;

import com.example.entity.Student;

import java.util.List;

public interface HibernateStudentRepository {

    void save(Student student);

    Student getById(Integer id);

    List<Student> findByProperty(String property, Object value);
}
